Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip satisfied dependencies during installation #4216

Merged
merged 6 commits into from
May 19, 2020

Conversation

techalchemy
Copy link
Member

@techalchemy techalchemy commented Apr 29, 2020

pipenv/environment.py Outdated Show resolved Hide resolved
- Skip satisfied dependencies in the environment during install
  by checking whether the constraint of a specifier is satisfied
- If there is no specifier and a dependency is installed, assume it
  is satisfied
- For editable dependencies, if the dependency in the environment is
  an egg link and points at the same path as the given dep, assume
  it is satisfied
- Fixes #3057

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
@techalchemy techalchemy force-pushed the feature/only-install-missing branch from ca53d85 to 69d785d Compare May 19, 2020 20:47
@techalchemy techalchemy marked this pull request as ready for review May 19, 2020 21:04
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
@techalchemy techalchemy merged commit 23a2e7c into master May 19, 2020
@techalchemy techalchemy deleted the feature/only-install-missing branch May 19, 2020 23:49
@ncoghlan
Copy link
Member

Ooh, I have some janky CI chicanery to try removing now :)

Very nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Install only deltas when running pipenv sync Make pipenv sync skip installed dependencies
3 participants